package com.lxy.seata.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author lixinyang
 * @className: TAccount
 * @description: TODO
 * @date 2022/05/02日  22:46
 */

@Mapper
public interface TAccountDao {
    int decrease(@Param("userId") Long userId, @Param("money") BigDecimal money);
}
